package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizhiyuan
 * @since 2020-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("load_agent_temp")
@ApiModel(value="LoadAgentTempEntity对象", description="")
public class LoadAgentTempEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "LAT_ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "批次表ID")
    @TableField("LAT_LDB_ID")
    private Long ldbId;

    @ApiModelProperty(value = "经销商ID")
    @TableField("LAT_DEL_ID")
    private Long delId;

    @ApiModelProperty(value = "车架号，若不存在，上传失败")
    @TableField("LAT_VIN")
    private String vin;

    @ApiModelProperty(value = "建议处理人CPD系统员工姓名")
    @TableField("LAT_CPD_ACCOUNT")
    private String cpdAccount;

    @ApiModelProperty(value = "错误描述")
    @TableField("LAT_ERROR_MSG")
    private String errorMsg;


    public static final String LAT_ID = "LAT_ID";

    public static final String LAT_LDB_ID = "LAT_LDB_ID";

    public static final String LAT_DEL_ID = "LAT_DEL_ID";

    public static final String LAT_VIN = "LAT_VIN";

    public static final String LAT_CPD_ACCOUNT = "LAT_CPD_ACCOUNT";

    public static final String LAT_ERROR_MSG = "LAT_ERROR_MSG";

}
